# 导包
from selenium import webdriver
import time
# 创建浏览器对象
driver = webdriver.Chrome()

# 访问百度
url1 = 'http://192.168.0.164:8544'
driver.get(url1)
print('访问:',url1)

# # 知乎专栏
# url2 = 'https://zhuanlan.zhihu.com/'
# time.sleep(2)
# driver.get(url2)
# print('访问:',url2)
#
# # 后退操作
# time.sleep(2)
# driver.back()
# print('后退到',url1)
#
# # 前进
# time.sleep(2)
# driver.forward()
# print('前进到',url2)
